]> dgit.raspbian.org Git - gnome-shell.git/commit
keyboard: Request a bigger size in portrait orientation
authorFlorian Müllner <fmuellner@gnome.org>
Sat, 4 Jul 2020 00:36:10 +0000 (02:36 +0200)
committerFlorian Müllner <florian.muellner@gmail.com>
Mon, 6 Jul 2020 15:16:35 +0000 (15:16 +0000)
commit261d36ba72d8051d6b1cca5a403cce3dd9b5219e
treef7b62145cb92c56228f3d117d80830d55ed001d6
parent1e72874192d16e9063c7a4766e53f53dfd6d130e
keyboard: Request a bigger size in portrait orientation

In portrait orientation, we set the height to the preferred height
for the monitor width (or, if smaller, a third o the screen height).

However as the forWidth currently doesn't make a difference, the height
is effectively controlled by the natural height of the keys - which is
rather small.

Address this by making AspectContainer request an appropriate preferred
size based on the fixed ratio.

https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/2349
js/ui/keyboard.js